package com.steven.io;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

public class PrintWriteDemo {

	/**
	 * @param args
	 * @throws Exception 
	 */
	public static void main(String[] args) throws Exception {
		
		BufferedReader bw = new BufferedReader(new InputStreamReader(System.in));
		
		PrintWriter pw = new PrintWriter(System.out,true);
		 String line =null;
		 
		 while((line=bw.readLine())!=null){
			 
			 pw.println(line);
		 }
		
		 pw.close();
		 bw.close();
	 

	}

}
